geany_d_binding.geany.sciwrappers

Undocumented in source.

Members

Functions

sci_get_contents
gchar* sci_get_contents(ScintillaObject* sci, gint buffer_len)

Allocates and fills a buffer with text from the start of the document. @param sci Scintilla widget. @param buffer_len Buffer length to allocate, including the terminating null char, e.g. sci_get_length() + 1. Alternatively use @c -1 to get all text (since Geany 1.23). @return A copy of the text. Should be freed when no longer needed.

sci_get_current_position
gint sci_get_current_position(ScintillaObject* sci)

Gets the cursor position. * @param sci Scintilla widget. * @return Position.

sci_get_length
gint sci_get_length(ScintillaObject* sci)

Gets the length of all text. * @param sci Scintilla widget. * @return Length.

Meta